<extend name="Public/base" />

<block name="body">
	<!-- 标题栏 -->
	<div class="main-title">
		<h2>结婚吧</h2>
	</div>
    <!-- 数据列表 -->
    <div class="data-table table-striped">
	<table class="">
    <thead>
        <tr>
            <th>头像</th>
            <th>姓名</th>
            <th>地区</th>
            <th>性别</th>
            <th>身高</th>
            <th>状态</th>
            <th>操作</th>
		</tr>
    </thead>
    <tbody>
		<notempty name="_list">
		<volist name="_list" id="v">
		<tr>
            <td><img src="{$v.head}" width="28" height='28' /></td>
            <td>{$v.name}</td>
            <td>{$v.region}</td>
            <td><if condition='$v.sex eq 1'>男<else />女</if></td>
            <td>{$v.stature}</td>
            <td><if condition='$v.type eq 0'>未审核<elseif condition='$v.type eq 1' />已通过<else />已拒绝</if></td>
            <td>
              <a href='{:U("marryinfo",array("id"=>$v["id"]))}'>查看</a>
              <a href='{:U("dispose",array("id"=>$v["id"],"type"=>1))}'>通过</a>
              <a href='{:U("dispose",array("id"=>$v["id"],"type"=>2))}'>不通过</a>
            </td>
		</tr>
		</volist>
		<else/>
		<td colspan="9" class="text-center"> aOh! 暂时还没有内容! </td>
		</notempty>
	</tbody>
    </table>
	</div>
    <div class="page">
        {$_page}
    </div>
</block>
